class Animal {
  protected move() {
    console.log('Moving');
  }
}
class Dog extends Animal {
  bark() {
    console.log('汪！');
    this.move()
  }
}